package dao.comm;

import java.util.List;

import vo.comm.*;

public interface IHomeworkDAO {
	public boolean doCreate(Homework homework)throws Exception;
	public boolean doDelete(Homework homework)throws Exception;
	public Homework findByName(String homeworkname)throws Exception;
	public List<Homework> findAll(String keyWord)throws Exception;
	public boolean doUpdate(Homework homework)throws Exception;
	public boolean doPublish(Homework homework)throws Exception;
	public List<Homework> findPublish(String keyWord)throws Exception;
	public boolean doUpload(Homework homework)throws Exception;
	public List<Homework> findUpload(String keyWord) throws Exception;
	public boolean checkUpload(Homework homework)throws Exception;
	public boolean doScore(Homework homework)throws Exception;
	public List<Homework> findScore(String keyWord1,String keyWord2) throws Exception;
	public boolean findAvg(Homework homework)throws Exception;
	
}

